package com.woniuxy.kaer.tenants.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 程诗洋
 * @since 2025年02月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("transaction_logs")
public class TransactionLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("shop_id")
    private Integer shopId;

    @TableField("amount")
    private BigDecimal amount;

    @TableField("order_id")
    private Integer orderId;

    @TableField("revenue")
    private BigDecimal revenue;

    @TableField("update_time")
    private LocalDateTime updateTime;


}
